home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / prog_c / dbpp20.zip / EXAMPLE2.MAK < prev    next >
Text File  |  1994-05-09  |  937b  |  37 lines

  1. # example2.mak
  2. #
  3. # make file for the DataBase test - example2.cpp.
  4. #
  5. # NOTE - c4fox is the CodeBase 5.0 library
  6.  
  7. OBJS     = example2.obj
  8. EXENAME  = example2
  9. DEFINES  = S4FOX
  10. LIBLIST  = dbpp200 c4fox emu mathl cl
  11. OUTDIR   = #e:\         # output directory.   
  12. MODEL    = l           # l = large; s = small
  13. ROOTOBJ  = c0l       
  14. DEBUG    = #-v          # -v = debug info
  15. PRECOMP  = -H          # -H = use precompiled headers
  16. MAPFILE  =             # name of map file          
  17. MAP      = /x          # -x = no map file.
  18. COMPILER = bcc         # name of compiler.
  19. LINKER   = tlink       # name of linker.
  20. SPEED    = #-G          # -G = optimize for speed.
  21.  
  22. #.autodepend
  23. .path.cpp = .
  24.  
  25. .cpp.obj:
  26.    @$(COMPILER) -c -m$(MODEL) $(DEBUG) $(PRECOMP) $(SPEED) -D$(DEFINES) -n$(OUTDIR) {$< }
  27.  
  28. $(EXENAME).exe : $(OBJS)
  29.    @$(LINKER) $(MAP) $(DEBUG) @&&!
  30. $(ROOTOBJ)$(OBJS)
  31. $(EXENAME)
  32. $(EXENAME) 
  33. $(LIBLIST)
  34. !
  35.  
  36.  
  37.